package com.wanmait.gohome.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.gohome.mapper.LostTypeMapper;
import com.wanmait.gohome.pojo.LostType;
import com.wanmait.gohome.service.LostTypeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class LostTypeServiceImpl implements LostTypeService {

    @Resource
    private LostTypeMapper lostTypeMapper;

    @Override
    public void insert(LostType object) {

    }

    @Override
    public void update(Integer id) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    /**
     *
     * @return  查找所有失踪类型
     */
    @Override
    public List<LostType> findAll() {
        return lostTypeMapper.findAll();
    }

    @Override
    public LostType findById(Integer id) {
        return null;
    }

    @Override
    public PageInfo<LostType> findPage() {
        return null;
    }

    @Override
    public List<LostType> findAll(LostType object) {
        return null;
    }

    @Override
    public PageInfo<LostType> findPage(LostType object) {
        return null;
    }
}
